package cn.yh.shop.user.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import cn.yh.shop.user.dao.UserDao;
import cn.yh.shop.user.model.User;
import cn.yh.shop.user.service.IUserService;
/**
* @Description:IUserService实现层
* @author:仇文文
* @time:2016年12月15日 上午9:07:38
*/
@Service("userService")
public class UserServiceImpl implements IUserService{
@Autowired
private UserDao userDao;
	@Override
	public User getUser(User user) {
		return userDao.getUser(user);
	}
	@Override
	public void addUser(User user) {
		 userDao.addUser(user);
	}
	@Override
	public void editUser(User user) {
		userDao.editUser(user);
	}


}
